package com.wgo.precise.client.ui.view.util.viewfilters;

import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerFilter;

import com.wgo.precise.client.ui.model.facade.IModelPersistable;


public class ModelViewFilter extends ViewerFilter {
	@Override
	public boolean select(@SuppressWarnings("unused") Viewer viewer, @SuppressWarnings("unused") Object parentElement, Object element) {
		if (element instanceof IModelPersistable) {
			return true;
		}
		return false;
	}
}
